home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 675 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  636 b 

  1. Path: phoenix.acms.arizona.edu!jwhite
  2. From: Kenton White <jwhite@phoenix.acms.arizona.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: void pointers
  5. Date: Fri, 5 Jan 1996 11:36:38 -0700
  6. Organization: The University of Arizona
  7. Message-ID: <Pine.SUN.3.91.960105113409.18158A-100000@phoenix.acms.arizona.edu>
  8. NNTP-Posting-Host: phoenix.acms.arizona.edu
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11.  
  12.  
  13.  
  14. I am trying to create a class that stores pointers to other classes in an
  15. array of void pointers.  Since void pointers cannot be dereferenced, is
  16. there any way to cast the void pointer to a non-void pointer and then
  17. dereference? 
  18.  
  19.